﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Monk_Monster_River
{
    /// <summary>
    /// 过河状态
    /// </summary>
    public class AcrossRiverAction
    {
        public AcrossRiverAction(ActionTag actonTag, BoatState boatState, int monster, int monk)
        {
            this.Monster = monster;
            this.Monk = monk;
            this.ActionTag = actonTag;
            this.BoatState = boatState;
        }

        public int Monster { get; set; }
        public int Monk { get; set; }
        public ActionTag ActionTag { get; set; }
        public BoatState BoatState { get; set; }


        public override string ToString()
        {
            return string.Format("{0}-{1}: {2},{3}", Enum.GetName(typeof(ActionTag), this.ActionTag)
                                                 , Enum.GetName(typeof(BoatState), this.BoatState)
                                                 , this.Monster, this.Monk);
        }
    }
}
